﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace JGSoft.U9CRTAPIEX.DTOs.RequestDTOs
{
	/// <summary>
	/// 凭证行
	/// </summary>
	public class VoucherLineRData
	{

		/// <summary>
		/// 摘要
		/// </summary>
		public string Abstracts { get; set; }

		/// <summary>
		/// 会计科目
		/// </summary>

		public string Account { get; set; }

		/// <summary>
		/// 贷方金额(本币)
		/// </summary>

		public decimal AccountedCr { get; set; } = 0;

		/// <summary>
		/// 借方金额(本币)
		/// </summary>

		public decimal AccountedDr { get; set; } = 0;

		/// <summary>
		/// 贷方金额(原币)
		/// </summary>

		public decimal EnteredCr { get; set; } = 0;

		/// <summary>
		/// 借方金额(原币)
		/// </summary>

		public decimal EnteredDr { get; set; } = 0;

		/// <summary>
		/// 贷方数量
		/// </summary>

		public decimal AmountCr { get; set; }

		/// <summary>
		/// 借方数量
		/// </summary>

		public decimal AmountDr { get; set; }

		/// <summary>
		/// 银行账号
		/// </summary>
		public string BankAccount { get; set; }
		/// <summary>
		/// 结算方式
		/// </summary>
		public string SettlementMethod { get; set; }
		/// <summary>
		/// 币种
		/// </summary>
		public string Currency { get; set; }

		/// <summary>
		/// 汇率
		/// </summary>
		//public decimal ExchangeRate { get; set; } = 1;
		
	}
}
